<div [formGroup]="group" [ngClass]="getClass('grid', 'control')">

    <p-editor #pEditor
              [formats]="model.getAdditional('formats', null)"
              [formControlName]="model.id"
              [id]="id"
              [ngClass]="getClass('element','control')"
              [modules]="model.getAdditional('modules', null)"
              (onSelectionChange)="onCustomEvent($event, 'onSelectionChange')"
              (onTextChange)="onChange($event)"></p-editor>

</div>
